package com.projectnection.server.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.Id;

import com.googlecode.objectify.Key;

public class Entity implements Serializable {

	public static String PROJECT_TYPE = "project_type";
	public static String USER_TYPE = "user_type";
	public static String GROUP_TYPE = "group_type";
	public static String TAG_TYPE = "tag_type";

	@Id
	private String entityID;

	private String entityType;

	private String entityName;

	private String entityDescription;

	private List<Key<Entity>> entityConnections = new ArrayList<Key<Entity>>();

	public Entity() {
	}

	public String getEntityID() {
		return entityID;
	}

	public void setEntityID(String entityID) {
		this.entityID = entityID;
	}

	public String getEntityType() {
		return entityType;
	}

	public void setEntityType(String entityType) {
		this.entityType = entityType;
	}

	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public String getEntityDescription() {
		return entityDescription;
	}

	public void setEntityDescription(String entityDescription) {
		this.entityDescription = entityDescription;
	}

	public List<Key<Entity>> getEntityConnections() {
		return entityConnections;
	}

	public void setEntityConnections(List<Key<Entity>> entityConnections) {
		this.entityConnections = entityConnections;
	}

}
